//
//  ToplistcellCell.m
//  Leisure
//
//  Created by xalo on 16/7/2.
//  Copyright © 2016年 蓝鸥科技有限公司西安分公司. All rights reserved.
//

#import "TopicListCell.h"

@interface TopicListCell ()
@property (weak, nonatomic) IBOutlet UILabel *uname;
@property (weak, nonatomic) IBOutlet UIImageView *iconimage;
@property (weak, nonatomic) IBOutlet UILabel *contentlable;
@property (weak, nonatomic) IBOutlet UILabel *timelable;

@end
@implementation TopicListCell
-(void)setCellWithmModle:(TopicListModel *)modle{
    self.uname.text = modle.uname;
    self.contentlable.text = modle.content;
    self.timelable .text = modle.addtime_f;
    [self.iconimage sd_setImageWithURL:[NSURL URLWithString:modle.icon] placeholderImage:[UIImage imageNamed:@"7.jpg"]];
    
    self.iconimage.layer.cornerRadius = 35;
    self.iconimage.layer.masksToBounds  = YES;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
